/* (保留body和.app-container的基础样式) */
body { margin: 0; font-family: sans-serif; }
.app-container { width: 380px; padding: 10px 20px; text-align: center; }
h1 { font-size: 1.3em; margin-bottom: 5px; }
.description { font-size: 0.9em; color: #666; margin-top: 0; margin-bottom: 20px; }

.input-group {
  margin-bottom: 15px;
  text-align: left;
}
.input-group label {
  display: block;
  font-size: 0.9em;
  margin-bottom: 5px;
}
input[type="password"], input[type="file"] {
  width: 95%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #0078d4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background-color 0.2s;
}
button:hover { background-color: #005a9e; }
button:disabled { background-color: #ccc; cursor: not-allowed; }

.error {
  color: #d93025;
  margin-top: 15px;
  font-size: 0.9em;
}

.result-preview {
  margin-top: 20px;
  text-align: left;
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 10px;
}
.result-preview h3 {
  margin-top: 0;
}
.result-preview pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 0.8em;
  max-height: 200px;
  overflow-y: auto;
}